package com.swas.dao;

import com.swas.entity.BaseDevice;
import com.swas.entity.BaseDeviceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BaseDeviceDao {
    long countByExample(BaseDeviceExample example);

    int deleteByExample(BaseDeviceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BaseDevice record);

    int insertSelective(BaseDevice record);

    List<BaseDevice> selectByExample(BaseDeviceExample example);

    BaseDevice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BaseDevice record, @Param("example") BaseDeviceExample example);

    int updateByExample(@Param("record") BaseDevice record, @Param("example") BaseDeviceExample example);

    int updateByPrimaryKeySelective(BaseDevice record);

    int updateByPrimaryKey(BaseDevice record);
}